{% extends "photo_base.html" %}

{% block title %}{{ object.item.name }} - {{ object.title }}{% endblock %}

{% block content %}

    <a href="{{ object.item.get_absolute_url }}">&laquo; Back to
        {{ object.item.name }} detail page</a>

    <h2>{{ object.item.name }} - {{ object.title }}</h2>
    <img src="{{ object.image.url }}" />
    {% if object.caption %}<p>{{ object.caption }}</p>{% endif %}

{% endblock %}